Polar Gauge Simple (DCI Gauge Simple)
Visually communicates a numerical value as a percentage of a target (100) within a circular format.
#Examples
The Polar Gauge Simple component is a minimalist data visualization tool designed to clearly and efficiently communicate a single metric:
The component consists of:
- Score: Displays the current score (e.g., "25.9").
- Progress Indicator: Visually represents the score as a filled portion of the circle.
#Basic Usage, Small Size
Ideal for compact displays like table cells or within card or table components where space is limited.
33.5
<DCIGaugeSimple score={33.5} size="small" />
#Basic Usage, Medium Size
Suitable for more prominent display on dashboards, reports, or when the visual impact of the gauge is important.
33.5
<DCIGaugeSimple score={33.5} size="medium" />
#Properties
33
Property | Description | Defined | Value |
---|---|---|---|
scoreRequired | | number DCI score between 0-100 | ||
sizeOptional | "medium" | "small" Controls the size of the DCI - defaults to "small" | ||
useQuestionMarkOptional | boolean Shows question mark when score is zero or null | ||
data-observe-keyOptional | string Unique string, used by external script e.g. for event tracking | ||
classNameOptional | string Custom className that's applied to the outermost element (only intended for special cases) | ||
styleOptional | object Style object to apply custom inline styles (only intended for special cases) |
#Guidelines
#Do not use when
#Accessibility
Explore detailed guidelines for this component: Accessibility Specifications